package com.eshop.modules.mp.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.mp.service.dto.WechatTemplateDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.mp.service.dto.WechatTemplateQueryCriteria;
import com.eshop.modules.mp.domain.WechatTemplate;
import com.eshop.common.service.BaseService;

public interface WechatTemplateService extends BaseService<WechatTemplate>
{
    Map<String, Object> queryAll(final WechatTemplateQueryCriteria criteria, final Pageable pageable);
    
    List<WechatTemplate> queryAll(final WechatTemplateQueryCriteria criteria);
    
    void download(final List<WechatTemplateDto> all, final HttpServletResponse response) throws IOException;
    
    WechatTemplate findByTempkey(final String recharge_success_key);
}
